<?php

echo CHtml::openTag('tr');

    echo CHtml::openTag('td'); 
    echo CHtml::link($data->name, Yii::app()->createUrl('/user/account/view/', array('account' => $data->name)));
    echo CHtml::closeTag('td'); 

    echo CHtml::openTag('td');
    echo HDateTime::r_date($data->last_login_time, 'j M Y в H:i', false);  
    echo CHtml::closeTag('td');
    
    echo CHtml::openTag('td');
    echo HDateTime::r_date($data->last_logout_time, 'j M Y в H:i', false);
    echo CHtml::closeTag('td');
    
    echo CHtml::openTag('td');
    echo $data->last_login_ip; 
    echo CHtml::closeTag('td');
    
    echo CHtml::openTag('td');
    echo (($data->login_status > 0) ? 'Да' : 'Нет');
    echo CHtml::closeTag('td');

echo CHtml::closeTag('tr');
?>
